

let BaseView = require('./BaseView');

let BkpView = require('./bkp/BkpView');
let MapView = require('./map/mapView');

let SettingView = require('./SettingView');
let ResView = require('./ResView');

require('./css/control.css');
class ControlView extends BaseView{
    constructor() {
        super();
        this.rootEl = document.createElement('div');
        this.rootEl.classList.add('controller');
        this.rootEl.classList.add('border');

        this.bkpView = new BkpView();
        this.addView(this.bkpView);

        this.mapView = new MapView();
        this.addView(this.mapView);

        this.settingView = new SettingView();
        this.addView(this.settingView);

        this.resView = new ResView();
        this.addView(this.resView);
    }
}

module.exports = ControlView;
